/**
 * @(#)IncomeServiceImpl.java 2016年12月8日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.service.impl;


import javax.annotation.Resource;

import org.jsbd.boss.dao.IIncomeInfoDAO;
import org.jsbd.boss.domian.IncomeInfo;
import org.jsbd.boss.service.IIncomeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
@Service
public class IncomeServiceImpl implements IIncomeService {
	public static final Logger LOGGER = LoggerFactory.getLogger(IncomeServiceImpl.class);

	@Resource
	private IIncomeInfoDAO incomeInfoDAO;
	
	@Override
	public IncomeInfo getIncomeInfo(IncomeInfo incomeInfo) {
		return incomeInfoDAO.getIncomeInfo(incomeInfo);
	}

	@Override
	public Integer insertConfig(IncomeInfo incomeInfo) {
		return incomeInfoDAO.insertConfig(incomeInfo);
	}
}
